import React from 'react';
import { useNavigate } from 'react-router-dom'
import { Button, Result } from 'antd';

const SpacePage = () => {
  const navigate = useNavigate()
  return (
    <Result
      status="404"
      title="404"
      subTitle="哎呀，没找到页面"
      extra={<Button type="primary" onClick={() => navigate('/home')}>返回首页</Button>}
  />

  )
}

export default SpacePage
